package com.pyk.mapper;

import com.pyk.cloud_class_gitee.entity.UserAnswer;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AnswerMapper {



@Insert("insert into useranswers( user_id, question_id, homework_id, answer,submit_time, score, exam_id)" +
        " VALUE(#{userId},#{questionId},#{homeworkId},#{answer},#{submitTime},#{score},#{examId}) ")
    void insert(UserAnswer userAnswer);
}
